package com.cq.ssm.service;

import java.util.List;

import com.cq.ssm.po.Title;
import com.cq.ssm.po.TitleCustom;

public interface TitleService {

	//插入一条记录
	public boolean insertTitle(Title title) throws Exception;
	//根据id删除一条记录
	public boolean deleteById(Integer id) throws Exception;
	//根据titleId查询
	public List<TitleCustom> findByTitleId(Integer id)throws Exception;
}
